﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Smartec.Accounts.Camel.AMS.Model.Entities.Registered>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    التسجيل
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">



<script src="<%: Url.Content("~/Scripts/jquery.validate.min.js") %>" type="text/javascript"></script>
<script src="<%: Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js") %>" type="text/javascript"></script>
<%if (ViewData["found"] != null)
  { %>
  <%:ViewData["found"] %>
<%} %>
<%else
  { %>
<%ViewDataDictionary vdd = new ViewDataDictionary();
  vdd.Add("SystemName", "register");
 
   %>
<%Html.RenderPartial("TopicUserControl", vdd);%>
<% using (Html.BeginForm())
   { %>
    <%: Html.ValidationSummary(true)%>
    <fieldset>
       

        <div class="editor-label">
            <%: Html.LabelFor(model => model.Name)%>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.Name)%>
            <%: Html.ValidationMessageFor(model => model.Name)%>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.Email)%>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.Email)%>
            <%: Html.ValidationMessageFor(model => model.Email)%>
        </div>

       

       

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
<% } %>

<div>
    <%: Html.ActionLink("Back to List", "Index")%>
</div>
<%} %>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>

